package com.su.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.su.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<User> getAllUserInfo();

    void insertUserInfo(User user);

    void deleteUserInfoById(@Param("userId") int userId);

    void updateUserInfo(User user);

    User getUserInfoById(int id);
}